package org.example.rubbish.service;



import org.example.rubbish.entity.InventoryIn;
import org.example.rubbish.entity.InventoryOut;

import java.util.Date;
import java.util.List;

public interface InventoryService {
    InventoryIn createInventoryIn(InventoryIn inventoryIn);
    InventoryOut createInventoryOut(InventoryOut inventoryOut);
    InventoryIn getInventoryInById(Long id);
    InventoryOut getInventoryOutById(Long id);
    List<InventoryIn> getInventoryInByStationId(Long stationId);
    List<InventoryIn> getInventoryInByUserId(Long userId);
    List<InventoryIn> getInventoryInByTimeRange(Date startTime, Date endTime);
    List<InventoryOut> getInventoryOutByStationId(Long stationId);
    List<InventoryOut> getInventoryOutByTimeRange(Date startTime, Date endTime);
}
